home *** CD-ROM | disk | FTP | other *** search
- echo off
- echo .
- echo . Use this .BAT file to run GT from a RAM disk.
- echo .
- if "%1" == "" goto warn
- if "%2" == "" goto warn
- echo . Once GT has been started, the program disk can be removed,
- echo . but it will be needed when you exit GT.
- echo .
- echo . NOTE: You may need to change the "Phone Directory PATH" in the
- echo . GT configuration file. Use the ALT-I command, then set
- echo . it to point to the RAM disk.
- echo .
- pause
- echo .
- echo . Loading files to the RAM disk.
- echo .
- %2
- echo on
- copy %1gt1300.0??
- copy %1*.dir
- copy %1gt.cnf
- copy %1gt.key
- copy %1gt.log
- echo off
- %1gt1300 %3 %4
- %1
- echo .
- echo . Saving the configuration and directory files.
- echo .
- echo on
- copy %2*.dir
- copy %2gt.cnf
- copy %2gt.key
- copy %2gt.log
- goto fin
- :warn
- echo .
- echo . ERROR: You must specify the drives to use!
- echo .
- echo . Example: "ramdisk d: e: s /d".
- echo .
- echo . Where: d: ..... is the program disk and
- echo . e: ..... is the RAM disk, and
- echo . s ..... is optional, the name of a
- echo . script to execute, when GT is
- echo . started.
- echo . /d ..... is optional, the DTR switch, if present
- echo . GT will NOT drop DTR upon exit to DOS.
- echo .
- echo . Also: The user should manually set the
- echo . desired directories on each drive
- echo . before executing this .BAT file.
- echo .
- echo on
- :fin